widget: Improve gtk_cairo_should_draw_window()
authorBenjamin Otte <otte@redhat.com>
Thu, 21 Jan 2016 15:53:25 +0000 (16:53 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 22 Jan 2016 13:18:15 +0000 (14:18 +0100)
commitefc899bd2b2a351221cd2c455773f62defc06b9c
treeb22690dd05f255c93cffa11474558e42e9f8770c
parent74c3468d64d5e049df74e60c761e350180946e3f
widget: Improve gtk_cairo_should_draw_window()

Check that non-native window are indeed children of the event window and
only then confirm that they should be drawn.

Fixes Glade thinking that it's okay to have the draw function do
different things depending on what window to draw. (This should really
be fixed in Glade.)
gtk/gtkwidget.c